/**
 * Created by maiseries on 2018/1/10.
 */
import React from 'react';
import {
    StyleSheet,
    View,
    Text
} from 'react-native';

export default class ListLoadedAllView extends React.Component {

    static propTypes = {
        style: React.PropTypes.number
    };

    render() {

        return (
            <View style={[base.rowCC, styles.container, this.props.style]}>
                <Text allowFontScaling={false} style={styles.text}>--- 没有更多数据 ---</Text>
            </View>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        overflow: 'hidden',
    },
    text: {
        paddingVertical: layout.GAP_VERTICAL_LARGE,
        fontSize: layout.font(24),
        color: layout.FORM_AUX_FONT_COLOR,
    }
})